﻿using System;
using System.Device.Location;

namespace Tequila.Phone.Controls.Maps
{
    /// <summary>
    /// Used in PinnedMap control
    /// </summary>
    public class Pin
    {
        /// <summary>
        /// Pin name
        /// </summary>
        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// Location to pin
        /// </summary>
        public GeoCoordinate Location
        {
            get;
            set;
        }

        /// <summary>
        /// Will run on tap event
        /// </summary>
        public Action TapAction
        {
            get;
            set;
        }
    }
}
